package com.jade.store.wechat.vo;


import com.jade.bss.base.utils.EntityVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 微信公众号应用
 * User: JinYa 2009_jinya@163.com
 * Date: 2016-4-25
 * Time: 15:01
 * Version : 1.0
 * Remark:
 * History:
 */
@Data
@ApiModel(value ="微信公众号应用")
public class WechatAppVo extends EntityVo {
    /**
     * 授权方appid
     */
    @ApiModelProperty(value = "编号")
    private String authorizer_appid;
    /**
     * 授权方昵称
     */
    @ApiModelProperty(value = "编号")
    private String nick_name;
    /**
     * 授权方头像
     */
    @ApiModelProperty(value = "编号")
    private String head_img;
    /**
     * 授权方公众号类型，0代表订阅号，1代表由历史老帐号升级后的订阅号，2代表服务号
     */
    @ApiModelProperty(value = "编号")
    private String service_type_info;
    /**
     * 授权方认证类型，-1代表未认证，0代表微信认证，
     * 1代表新浪微博认证，2代表腾讯微博认证，3代表已资质认证通过但还未通过名称认证，
     * 4代表已资质认证通过、还未通过名称认证，但通过了新浪微博认证，5代表已资质认证通过、还未通过名称认证，但通过了腾讯微博认证
     */
    @ApiModelProperty(value = "授权方认证类型")
    private String verify_type_info;
    /**
     * 授权方公众号的原始ID
     */
    @ApiModelProperty(value = "授权方公众号的原始ID")
    private String user_name;
    /**
     * 公众号的主体名称
     */
    @ApiModelProperty(value = "公众号的主体名称")
    private String principal_name;
    /**
     * 授权方公众号所设置的微信号，可能为空
     */
    @ApiModelProperty(value = "授权方公众号所设置的微信号")
    private String alias;
    /**
     * 用以了解以下功能的开通状况（0代表未开通，1代表已开通）：
     open_store:是否开通微信门店功能
     open_scan:是否开通微信扫商品功能
     open_pay:是否开通微信支付功能
     open_card:是否开通微信卡券功能
     open_shake:是否开通微信摇一摇功能
     */
    @ApiModelProperty(value = "用以了解以下功能的开通状况")
    private String business_info;
    /**
     * 二维码图片的URL，开发者最好自行也进行保存
     */
    @ApiModelProperty(value = "二维码图片的URL，开发者最好自行也进行保存")
    private String qrcode_url;
    /**
     * 授权信息
     */
    @ApiModelProperty(value = "授权信息")
    private String authorization_info;
    @ApiModelProperty(value = "authorizer_access_token")
    private String authorizer_access_token;
    @ApiModelProperty(value = "authorizer_refresh_token")
    private String authorizer_refresh_token;
    /**
     * 授权方appid
     */
    @ApiModelProperty(value = "授权方appid")
    private String appid;
    /**
     * 公众号授权给开发者的权限集列表，ID为1到15时分别代表：
     消息管理权限
     用户管理权限
     帐号服务权限
     网页服务权限
     微信小店权限
     微信多客服权限
     群发与通知权限
     微信卡券权限
     微信扫一扫权限
     微信连WIFI权限
     素材管理权限
     微信摇周边权限
     微信门店权限
     微信支付权限
     自定义菜单权限
     请注意：
     1）该字段的返回不会考虑公众号是否具备该权限集的权限（因为可能部分具备），请根据公众号的帐号类型和认证情况，来判断公众号的接口权限。
     */
    @ApiModelProperty(value = "公众号授权给开发者的权限集列表")
    private String func_info;
    @ApiModelProperty(value = "公众号授权给开发者的权限集列表")
    private String base_func_info;

    public String getAuthorizer_appid() {
        return authorizer_appid;
    }

    public void setAuthorizer_appid(String authorizer_appid) {
        this.authorizer_appid = authorizer_appid;
    }

    public static int STATUS_NORMAL=0;
    public static int STATUS_CANCEL=9;
    @ApiModelProperty(value = "状态")
    private int status=STATUS_NORMAL;

    public String getNick_name() {
        return nick_name;
    }

    public void setNick_name(String nick_name) {
        this.nick_name = nick_name;
    }

    public String getHead_img() {
        return head_img;
    }

    public void setHead_img(String head_img) {
        this.head_img = head_img;
    }

    public String getService_type_info() {
        return service_type_info;
    }

    public void setService_type_info(String service_type_info) {
        this.service_type_info = service_type_info;
    }

    public String getVerify_type_info() {
        return verify_type_info;
    }

    public void setVerify_type_info(String verify_type_info) {
        this.verify_type_info = verify_type_info;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getPrincipal_name() {
        return principal_name;
    }

    public void setPrincipal_name(String principal_name) {
        this.principal_name = principal_name;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getBusiness_info() {
        return business_info;
    }

    public void setBusiness_info(String business_info) {
        this.business_info = business_info;
    }

    public String getQrcode_url() {
        return qrcode_url;
    }

    public void setQrcode_url(String qrcode_url) {
        this.qrcode_url = qrcode_url;
    }

    public String getAuthorization_info() {
        return authorization_info;
    }

    public void setAuthorization_info(String authorization_info) {
        this.authorization_info = authorization_info;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getFunc_info() {
        return func_info;
    }

    public void setFunc_info(String func_info) {
        this.func_info = func_info;
    }

    public String getAuthorizer_access_token() {
        return authorizer_access_token;
    }

    public void setAuthorizer_access_token(String authorizer_access_token) {
        this.authorizer_access_token = authorizer_access_token;
    }

    public String getAuthorizer_refresh_token() {
        return authorizer_refresh_token;
    }

    public void setAuthorizer_refresh_token(String authorizer_refresh_token) {
        this.authorizer_refresh_token = authorizer_refresh_token;
    }

    public String getBase_func_info() {
        return base_func_info;
    }

    public void setBase_func_info(String base_func_info) {
        this.base_func_info = base_func_info;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
